package com.ss.test08;

/**
 * @Auther: 520ljs
 * @Date: 2022/3/17 - 03 - 17 - 15:34
 */
public class Test02 {
    //这是一个main方法，是程序的入口
    public static void main(String[] args) {
        //比较两个学生：
        Student s1 = new Student(10,160.5,"lili");
        Student s2 = new Student(14,165.5,"nana");
        System.out.println(s1.compareTo(s2));
    }
}
